package com.woniuxy.rms.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.List;
/**
 * Auther: ChenGang  <br/>
 * Date: 2020/3/23 0023:下午 8:59  <br/>
 * Description:后台菜单封装类
 */
@Data
public class MenusDTO implements Serializable {
    private Integer id,parentId;//层级关系
    private String title,icon,spread,href;//
    private List<MenusDTO> children;//子节点集合
    public  MenusDTO(){}
    public MenusDTO(Integer id, Integer parentId, String title, String icon, String spread, String href) {
        this.id = id;
        this.parentId = parentId;
        this.title = title;
        this.icon = icon;
        this.spread = spread;
        this.href = href;
    }
}